(function(){'use strict';var n;function ca(a){var b=0;return function(){return b>>0)+"_",k=0;return b}); r("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c>>0),ra=0;function J(a,b){a=a.split(".");for(var c=H,d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b} function sa(a,b){function c(){} c.prototype=b.prototype;a.H=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Y=function(d,k,g){for(var f=Array(arguments.length-2),e=2;e=0&&Array.prototype.splice.call(a,b,1)} function wa(a){return Array.prototype.concat.apply([],arguments)} function xa(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d0){this.h--;var a=this.g;this.g=a.next;a.next=null}else a=this.i();return a};function za(a){H.setTimeout(function(){throw a;},0)} ;function Aa(){this.h=this.g=null} Aa.prototype.add=function(a,b){var c=Ba.get();c.set(a,b);this.h?this.h.next=c:this.g=c;this.h=c}; Aa.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.h=null),a.next=null);return a}; var Ba=new ya(function(){return new Ca},function(a){return a.reset()}); function Ca(){this.next=this.scope=this.g=null} Ca.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null}; Ca.prototype.reset=function(){this.next=this.scope=this.g=null};var Da,Ea=!1,Fa=new Aa;function Ga(a){Da||Ha();Ea||(Da(),Ea=!0);Fa.add(a,void 0)} function Ha(){var a=Promise.resolve(void 0);Da=function(){a.then(Ia)}} function Ia(){for(var a;a=Fa.remove();){try{a.g.call(a.scope)}catch(c){za(c)}var b=Ba;b.j(a);b.h<100&&(b.h++,a.next=b.g,b.g=a)}Ea=!1} ;function K(){this.i=this.i;this.j=this.j} K.prototype.i=!1;K.prototype.dispose=function(){this.i||(this.i=!0,this.D())}; K.prototype[Symbol.dispose]=function(){this.dispose()}; K.prototype.addOnDisposeCallback=function(a,b){this.i?b!==void 0?a.call(b):a():(this.j||(this.j=[]),b&&(a=a.bind(b)),this.j.push(a))}; K.prototype.D=function(){if(this.j)for(;this.j.length;)this.j.shift()()};function Ja(a){var b={},c;for(c in a)b[c]=a[c];return b} ;var Ka=/&/g,La=//g,Na=/"/g,Oa=/'/g,Pa=/\x00/g,Qa=/[\x00&<>"']/;/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ function L(a){this.g=a} L.prototype.toString=function(){return this.g}; var Ra=new L("about:invalid#zClosurez");function Sa(a){this.S=a} function M(a){return new Sa(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})} var Ta=[M("data"),M("http"),M("https"),M("mailto"),M("ftp"),new Sa(function(a){return/^[^:]*([/?#]|$)/.test(a)})],Ua=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;var Va={X:0,V:1,W:2,0:"FORMATTED_HTML_CONTENT",1:"EMBEDDED_INTERNAL_CONTENT",2:"EMBEDDED_TRUSTED_EXTERNAL_CONTENT"};function N(a,b){b=Error.call(this,a+" cannot be used with intent "+Va[b]);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.type=a;this.name="TypeCannotBeUsedWithIframeIntentError"} var O=Error;N.prototype=fa(O.prototype);N.prototype.constructor=N;if(ja)ja(N,O);else for(var P in O)if(P!="prototype")if(Object.defineProperties){var Wa=Object.getOwnPropertyDescriptor(O,P);Wa&&Object.defineProperty(N,P,Wa)}else N[P]=O[P];N.H=O.prototype;function Xa(a){Qa.test(a)&&(a.indexOf("&")!=-1&&(a=a.replace(Ka,"&")),a.indexOf("<")!=-1&&(a=a.replace(La,"<")),a.indexOf(">")!=-1&&(a=a.replace(Ma,">")),a.indexOf('"')!=-1&&(a=a.replace(Na,""")),a.indexOf("'")!=-1&&(a=a.replace(Oa,"'")),a.indexOf("\x00")!=-1&&(a=a.replace(Pa,"�")));return a} ;var Ya,Q;a:{for(var Za=["CLOSURE_FLAGS"],R=H,$a=0;$a0:!1} function db(a){var b={};a.forEach(function(c){b[c[0]]=c[1]}); return function(c){return b[c.find(function(d){return d in b})]||""}} function eb(){for(var a=S(),b=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);a=db(c);if(cb())a:{if(Ya&&T)for(b=0;b0&&this.m==0)for(;c=this.l.pop();)this.F(c)}}return g!=0}return!1}; function hb(a,b,c){Ga(function(){a.apply(b,c)})} n.clear=function(a){if(a){var b=this.h[a];b&&(b.forEach(this.F,this),delete this.h[a])}else this.g.length=0,this.h={}}; n.D=function(){U.H.D.call(this);this.clear();this.l.length=0};var ib=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function jb(a){var b=a.match(ib);a=b[1];var c=b[2],d=b[3];b=b[4];var k="";a&&(k+=a+":");d&&(k+="//",c&&(k+=c+"@"),k+=d,b&&(k+=":"+b));return k} function kb(a,b,c){if(Array.isArray(b))for(var d=0;d=119;return b.call(a,c&&!!navigator.permissions&&!!navigator.permissions.query&&"requestStorageAccessFor"in document)})} function pb(){var a=new nb,b=["https://www.youtube.com"];b=b===void 0?mb:b;F(function(c){switch(c.g){case 1:return C(c,ob(),2);case 2:if(!c.m){c.g=3;break}return C(c,Promise.all(b.map(function(d){var k;return F(function(g){if(g.g==1)return g.l=2,C(g,navigator.permissions.query({name:"top-level-storage-access",requestedOrigin:d}),4);g.g!=2?(k=g.m,k.state==="prompt"&&a.g.push(d),g.g=0,g.l=0):(g.l=0,g.i=null,g.g=0)})})),4); case 4:a.g.length>0&&window.addEventListener("click",a.h);case 3:return c.return()}})} ;var W={},qb=[],V=new U,rb={};function sb(){for(var a=x(qb),b=a.next();!b.done;b=a.next())b=b.value,b()} function tb(a,b){return a.tagName.toLowerCase().substring(0,3)==="yt:"?a.getAttribute(b):a.dataset?a.dataset[b]:a.getAttribute("data-"+b)} function ub(a){V.G.apply(V,arguments)} ;function vb(a){return(a.search("cue")===0||a.search("load")===0)&&a!=="loadModule"} function wb(a){return a.search("get")===0||a.search("is")===0} ;var xb=window; function X(a,b){this.v={};this.playerInfo={};this.videoTitle="";this.j=this.g=null;this.h=0;this.m=!1;this.l=[];this.i=null;this.C={};this.options=null;this.A=this.T.bind(this);if(!a)throw Error("YouTube player element ID required.");this.id=pa(this);b=Object.assign({title:"video player",videoId:"",width:640,height:360},b||{});var c=document;if(a=typeof a==="string"?c.getElementById(a):a){xb.yt_embedsEnableRsaforFromIframeApi&&pb();c=a.tagName.toLowerCase()==="iframe";b.host||(b.host=c?jb(a.src): "https://www.youtube.com");this.options=b||{};b=[this.options,window.YTConfig||{}];for(var d=0;d0||console&&console.warn&&console.warn(c);else throw c;}else console&&console.warn&&console.warn("The YouTube player is not attached to the DOM. API calls should be made after the onReady event. See more: https://developers.google.com/youtube/iframe_api_reference#Events")}; function zb(a){if((a=String(Y(a,"videoId")))&&(a.length!==11||!a.match(/^[a-zA-Z0-9\-_]+$/)))throw Error("Invalid video id");return"/embed/"+a} function yb(a,b){var c=Y(a,"playerVars");c?c=Ja(c):c={};window!==window.top&&document.referrer&&(c.widget_referrer=document.referrer.substring(0,256));var d=Y(a,"embedConfig");if(d){if(I(d))try{d=JSON.stringify(d)}catch(k){console.error("Invalid embed config JSON",k)}c.embed_config=d}c.enablejsapi=window.postMessage?1:0;window.location.host&&(c.origin=window.location.protocol+"//"+window.location.host);c.widgetid=a.id;window.location.href&&ua(["debugjs","debugcss"],function(k){var g=window.location.href; var f=g.search(lb);b:{var e=0;for(var h=k.length;(e=g.indexOf(k,e))>=0&&ef)h=f;e+=k.length+1;g=decodeURIComponent(g.slice(e,h!==-1?h:0).replace(/\+/g," "))}g!==null&&(c[k]=g)}); window.location.href&&(c.forigin=window.location.href);a=window.location.ancestorOrigins;c.aoriginsup=a===void 0?0:1;a&&a.length>0&&(c.aorigins=Array.from(a).join(","));window.document.referrer&&(c.gporigin=window.document.referrer);b&&(c.vf=Gb(b));return c} function Hb(a,b){if(I(b)){for(var c in b)b.hasOwnProperty(c)&&(a.playerInfo[c]=b[c]);a.playerInfo.hasOwnProperty("videoData")&&(b=a.playerInfo.videoData,b.hasOwnProperty("title")&&b.title?(b=b.title,b!==a.videoTitle&&(a.videoTitle=b,a.g.setAttribute("title",b))):(a.videoTitle="",a.g.setAttribute("title","YouTube "+Y(a,"title"))))}} function Ib(a,b){b=x(b);for(var c=b.next(),d={};!c.done;d={u:void 0},c=b.next())d.u=c.value,a[d.u]||(d.u==="getCurrentTime"?a[d.u]=function(){var k=this.playerInfo.currentTime;if(this.playerInfo.playerState===1){var g=(Date.now()/1E3-this.playerInfo.currentTimeLastUpdated_)*this.playerInfo.playbackRate;g>0&&(k+=Math.min(g,1))}return k}:vb(d.u)?a[d.u]=function(k){return function(){this.playerInfo={}; this.v={};Db(this,k.u,arguments);return this}}(d):wb(d.u)?a[d.u]=function(k){return function(){var g=k.u,f=0; g.search("get")===0?f=3:g.search("is")===0&&(f=2);return this.playerInfo[g.charAt(f).toLowerCase()+g.substring(f+1)]}}(d):a[d.u]=function(k){return function(){Db(this,k.u,arguments); return this}}(d))} n.getVideoEmbedCode=function(){var a=""+Y(this,"host")+zb(this),b=Number(Y(this,"width")),c=Number(Y(this,"height"));if(isNaN(b)||isNaN(c))throw Error("Invalid width or height property");b=Math.floor(b);c=Math.floor(c);var d=this.videoTitle;a=Xa(a);d=Xa(d!=null?d:"YouTube video player");return'')}; n.getOptions=function(a){return this.v.namespaces?a?this.v[a]?this.v[a].options||[]:[]:this.v.namespaces||[]:[]}; n.getOption=function(a,b){if(this.v.namespaces&&a&&b&&this.v[a])return this.v[a][b]}; function Y(a,b){a=[a.options,window.YTConfig||{}];for(var c=0;c